<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </script>
    <title>App下载</title>
    <style>
        .content {
            background: url('./images/background.png') no-repeat;
            background-size: cover;
            height: 100%;
        }
        
        #header {
            padding-left: .5rem;
            line-height: 1rem;
            height: 1rem;
            background-color: #fafafa;
        }
        
        #header img {
            width: .6rem;
            height: .6rem;
        }
        
        #header span {
            font-size: .3rem;
            color: #333333;
            vertical-align: middle;
        }
        
        #header .small-title {
            font-size: .2rem;
            color: #808080;
            position: absolute;
            margin-left: .1rem
        }
        
        .show-image {
            position: relative;
            width: 50%;
            height: 100%;
        }
        
        .phone {
            position: absolute;
            top: 1rem;
            left: .5rem;
            height: 8rem;
            width: 4.5rem
        }
        
        .ad {
            position: absolute;
            top: 1.5rem;
            left: 2rem;
            height: 7rem;
            width: 4rem;
        }
        
        .icon2 {
            width: 68px;
            height: 68px;
            margin: 150px 0 0 0;
        }
        
        .bigbox {
            width: 50%;
        }
        
        .smallbox {
            position: relative;
            width: 100%;
        }
        
        .t-care {
            position: absolute;
            left: 80px;
            bottom: 37px;
            font-size: 24px;
            color: #31E2CB;
        }
        
        .d-care {
            position: absolute;
            left: 80px;
            bottom: 10px;
            font-size: 18px;
            color: #333333;
        }
        
        .erweima {
            margin: 80px 0 0 0;
        }
        
        .erweima .erwei-title {
            display: block;
            width: 135px;
            height: 40px;
            margin-right: 50px;
        }
        
        .erweima .erweiimage {
            background-color: red;
            width: 130px;
            height: 130px;
            margin: 17px 0 0 2px;
        }
        
        .fr {
            float: right;
        }
        
        a {
            font-size: .25rem;
            background-color: #24CDD2;
            height: .5rem;
            line-height: .5rem;
            width: 1rem;
            margin-top: .2rem;
            margin-right: .2rem;
            text-align: center;
            text-decoration: none;
            color: #fff;
            border-radius: .1rem;
        }
        
        body {
            margin: 0;
        }
        
        .cover {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, .5);
        }
        
        .cover_content {
            position: absolute;
            width: 3rem;
            height: 2rem;
            /*background-color: #fff;*/
            left: 50%;
            top: 50%;
            margin-left: -1.5rem;
            margin-top: -3rem;
            font-size: .3rem;
            color: rgba(255, 255, 255, .9);
        }
        
        .jiantou {
            position: absolute;
            top: -1rem;
            right: -.5rem;
        }
        
        .more {
            background: url('./images/more.png');
            background-size: contain;
            background-repeat: no-repeat;
            display: inline-block;
            height: .3rem;
            width: 1rem;
            vertical-align: baseline;
        }
    </style>
</head>

<body>
    <div>
        <a href="m://com.liver_cloud.liver" class="open"></a>
        <div id="header">
            <img src="./images/mail.png" alt="icon">
            <span>Liver-Care</span>
            <span class="small-title">App客户端</span>
            <a href="//www.liver-cloud.com/app/app.apk" class="fr" id="openId">下载</a>
        </div>
        <div class="content clear">
            <div class="fl show-image">
                <img src="./images/add2.png" alt="手机效果图" class="phone">
                <img src="./images/ad.png" alt="宣传页图" class="ad">
            </div>
        </div>
        <div class="cover">
            <div class="cover_content">
                <p>下载就差一步啦！</p>
                <p>请点击右上角<span class="more"></span></p>
                <p>选择在浏览器中打开</p>
                <img src="./images/jiantou.png" alt="箭头" class="jiantou">
            </div>
        </div>
    </div>
    <script>
        var html = document.documentElement,
            viewWidth = html.clientWidth / 7.5;
        html.style.fontSize = viewWidth + 'px';
        document.querySelector('.open').click();
        var u = navigator.userAgent;
        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
        var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);

        var ua = navigator.userAgent.toLowerCase();
        var isWeixin = ua.indexOf('micromessenger') != -1;
        if (isWeixin) {

        } else {
            document.querySelector('.cover').style.display = 'none';
        }
    </script>
</body>

</html>